<div id="wrapper-content" align="left">

    <?php if ($listcatchild != false) {
 ?>
        <table>
            <tr>
                <td valign="top">
                    <div id="border-wrapper-cat-child">
                        <img src="<?php echo base_url() . 'assets/images/bordertl.png' ?>" style="position:absolute;top:0px;left:0px"/>
                        <img src="<?php echo base_url() . 'assets/images/bordertr.png' ?>" style="position:absolute;top:0px;right:0px"/>
                        <img src="<?php echo base_url() . 'assets/images/borderbr.png' ?>" style="position:absolute;bottom:0px;right:0px"/>
                        <img src="<?php echo base_url() . 'assets/images/borderbl.png' ?>" style="position:absolute;bottom:0px;left:0px"/>
                        <div id="wrapper-cat-child" align="left">
                            <div id="titre-wrapper-cat-child"><?php echo $langue['catchild_titre']; ?></div>
                            <ul >
<?php foreach ($listcatchild as $aRow): ?>
                            <li><a href="<?php echo site_url('jaco/recherche_page/' . $recherche . '/' . $aRow['id']); ?>" alt=""><?php echo $aRow['nom' . $langue['key']] ?></a>
                            </li>
<?php endforeach; ?>
                        </ul>
                    </div>
                    <!--end wrapper-cat-child-->
                </div>
                <!--end border-wrapper-cat-child-->
            </td>
            <td width="190px" valign="top"> <img width="181px" src="<?php echo base_url() . 'assets/catimg/' . $catimg ?>" /></td>
        </tr>
    </table>
<?php } ?>
        <div id="titre_list_produit"><?php echo $langue['recherche']; ?> : " <?php echo $recherche; ?> " </div>
        <div id="wrapper_productlist">
<?php if ($listproduct != false) { ?>

<?php foreach ($listproduct as $aRow): ?>
                <div class="box">
                    <img src="<?php echo base_url() . 'assets/productimg/' . $aRow['img'] ?>"/><br/>
                    <a href="<?php echo site_url('jaco/detail/' . $aRow['id']) . '/' . $aRow['nom']; ?>" alt="" class="nameproduct"><?php echo $aRow['nom'] ?></a>
                </div>
        <?php endforeach; ?>
        <?php echo $pagination; ?>
<?php } else
                echo "aucun produit"; ?>
    </div>
    <!--end wrapper_productlist-->

</div>

<!--end wrapper-content-->